<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="orderDetail.js"></script>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>订单详情</title>
</head>
<body>
	<div class="modal fade" id="orderDetailInfor" tabindex="-1"
		role="dialog" aria-labelledby="orderDetailsLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
					<h4 class="modal-title" id="myModalLabel">订单详细信息</h4>
				</div>
				<div class="modal-body">
					<!---***中部***-->
					<div align="left">
						<!--中上部-->
						<!---***图片滚动----对应的样式是rolling.css***-->
						<div align="center">
							<table style="width: 99%">
								<tr>
									<td style="border-style: none; border-width: medium">
										<form id="orderDetail" method="post" name="orderDetail">
											<div align="left">
												<!--中上部-->
												<!---***图片滚动----对应的样式是rolling.css***-->
												<div align="center">

													<table class="table table-bordered">

														<input style="width: 200px;" type="hidden"
															id="orderDetailId" name="id" value="${orderDetail.id}" />

														<tr>
															<td style="text-align: right;">订单ID:</td>

															<td><input style="width: 200px;" type="text"
																id="orderId" required name="orderId"
																value="${orderId}" /></td>
															<td style="text-align: right;">礼品ID:</td>

															<td><input style="width: 200px;" type="text"
																id="giftId" required name="giftId"
																value="${giftInfor.id}" /></td>
														</tr>
														<tr>

															<td style="text-align: right;">礼品名称:</td>

															<td><input style="width: 200px;" type="text"
																id="giftName" required name="giftName"
																value="${giftInfor.giftName}" /></td>
															<td style="text-align: right;">单价:</td>
															<td><input style="width: 200px;" type="text"
																id="price" required name="price"
																value="${orderDetail.price}" /></td>
														</tr>

														<tr>
															<td style="text-align: right;">数量:</td>

															<td><input style="width: 200px;" type="text"
																required name="total" id="total"
																value="${orderDetail.total}" /></td>
															<td style="text-align: right;">总价:</td>

															<td><input style="width: 200px;" type="text"
																required name="summery" id="summery"
																value="${orderDetail.summery}" /></td>

														</tr>

														<tr>
															<td style="text-align: right;">录入人:</td>
															<td><input style="width: 200px;" type="text"
																required id="creator" name="creator"
																value="${orderDetail.creator}" /></td>
															<td style="text-align: right;">录入时间:</td>
															<td><input style="width: 200px;" type="text"
																required id="createTime" name="createTime"
																value="${orderDetail.createTime}" /></td>
														</tr>
														<tr>


															<td style="text-align: right;">确认人:</td>
															<td><input style="width: 200px;" type="text"
																required id="confirmer" name="confirmer"
																value="${orderDetail.confirmer}" /></td>
															<td style="text-align: right;">确认时间:</td>
															<td><input style="width: 200px;" type="text"
																required id="confirmTime" name="confirmTime"
																value="${orderDetail.confirmTime}" /></td>
														</tr>

														<tr>

															<td style="text-align: right;">最后修改时间:</td>
															<td><input style="width: 200px;" type="text"
																required id="editTime" name="editTime"
																value="${orderDetail.editTime}" /></td>
															<td style="text-align: right;">最后修改人:</td>
															<td><input style="width: 200px;" type="text"
																required id="editor" name="editor"
																value="${orderDetail.editor}" /></td>

														</tr>
														<tr>
															<td style="text-align: right;">备注:</td>
															<td colspan="3"><textarea rows="3" cols="50"
																	style="width: 300px;" name="note" id="note">${order.note}</textarea></td>
														</tr>

													</table>
												</div>

												<div id="optBtn" class="modal-footer">
													<button id="saveBtn" type="submit" class="btn btn-primary">保存</button>
													<button type="button" class="btn btn-default"
														data-dismiss="modal">关闭</button>
												</div>
											</div>
										</form>
									</td>
								</tr>
							</table>
						</div>
					</div>
					<!--**中中部**-->
					<div></div>
					<!----------------------********中部结束********---------------------------->
				</div>
				<div class="modal-footer"></div>
			</div>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal -->
	</div>

</body>
</html>